.main-container {
  display: flex;
  position: relative;
  align-items: center;
  z-index: 5;
  height: 100%;
}
.main-box {
  margin-left: 14%;
  margin-top: 0;
  height: 100%;
  width: 70%;
}
.main-box-phone {
  /*margin-left: 6%;*/
  margin: 5%;
  /*height: 90%;*/
}
.main-sub-box {
  display: flex;
  justify-content: space-between;
}
.base-style-1 {
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  /*margin: 5px;*/
  height: fit-content;
  z-index: 1;
  /* align-items: center; */
}
.base-style-2 {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 5px;
  /*border: 1px solid white;*/
  box-shadow: -1px -1px 2px 2px rgba(255, 255, 255, 0.15);
  color: white;
  background-color: var(--item-bg);
}

.transitions_slider {
  /*transform: rotate(-90deg) translateX(240px) translateY(1400px);*/
  transform: rotate(-90deg) translateX(195px) translateY(1340px);
  width: 320px;
  height: 40px;
  border-radius: 5px;
  position: relative;
  /*background: url("./image/slider_bg.png") no-repeat;*/
  background: transparent;
  /*box-shadow: 1px -1px 2px 2px rgba(255, 255, 255, 0.15);*/
  box-shadow: -1px -1px 4px 1px rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-color);
  left: -200px;
}
.transitions_slider_led {
  position: absolute;
  width: 260px;
  top: -35px;
  left: 30px;
  display: flex;
  justify-content: space-between;
}
.transitions_slider input[type="range"] {
  width: 300px;
  height: 40px;
  appearance: none;
  cursor: pointer;
  /*border: solid 2px var(--border-color);*/
  border-radius: 5px;
  background: transparent;
  position: absolute;
  left: 20px;
}
.transitions_slider input[type="range"]::-moz-range-thumb {
  appearance: none;
  width: 48px;
  height: 80px;
  border: none;
  box-shadow: none;
  /*background-image: url("./image/main_thumb.png");*/
  background: url("./image/main_thumb_3.png") no-repeat;
}
.transitions_slider input[type="range"]::-webkit-slider-thumb {
  appearance:none;
  width: 48px;
  height: 80px;
  border: none;
  box-shadow: none;
  background: url("./image/main_thumb_3.png") no-repeat;
}

.right-box {
  height: 100%;
  width: 450px;
  position: absolute;
  right: 0%;
  top: 0px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  display: block;
  background-color: var(--main-bg);
  z-index: 10;
}
.right-sub-box {
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2%;
  padding: 10px;
  border: solid var(--font-color) 1px;
  border-radius: 2px;
  background-color: #24292c;
}

.image-box,
.scene-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.right-box .right-sub-box .scene-box .scene-1 {
  display: flex;
  border: 2px solid var(--font-color);
  height: 84px;
  align-items: center;
  margin: 5px;
  cursor: pointer;
}
.right-box .right-sub-box .scene-box .scene-2 {
  border: 2px solid var(--font-color);
  align-items: center;
  width: 144px;
  display: flex;
  flex-direction: column;
  margin: 5px;
  cursor: pointer;
  justify-content: center;
}
.right-box .right-sub-box .scene-box .scene-3 {
  position: relative;
  border: 2px solid var(--font-color);
  height: 84px;
  width: 144px;
  margin: 5px;
  cursor: pointer;
}
.right-box .right-sub-box .scene-box .scene-1:hover,
.right-box .right-sub-box .scene-box .scene-2:hover,
.right-box .right-sub-box .scene-box .scene-3:hover {
  border: 2px solid white;
}
.right-box .right-sub-box .scene-box .scene-1:active,
.right-box .right-sub-box .scene-box .scene-2:active,
.right-box .right-sub-box .scene-box .scene-3:active {
  -webkit-transform: translate(2px, 2px);
  transform: translate(2px, 2px);
}
.right-box .right-sub-box .scene-box .scene-1.checked,
.right-box .right-sub-box .scene-box .scene-2.checked,
.right-box .right-sub-box .scene-box .scene-3.checked {
  border: 2px solid red;
}
.right-box .right-sub-box .scene-box .large-rect {
  width: 70px;
  height: 40px;
  background: black;
  color: white;
  text-align: center;
  line-height: 40px;
  border: 1px solid rgb(57, 243, 57);
}
.right-box .right-sub-box .scene-box .small-rect {
  width: 50px;
  height: 30px;
  background: black;
  color: white;
  text-align: center;
  line-height: 30px;
  border: 1px solid rgb(57, 243, 57);
  position: absolute;
}
.right-box .input-radio:checked + label {
  background-color: var(--main-bg);
  color: var(--font-color-hover);
}

input[name="right"] + label,
input[name="camera"] + label {
  display: inline-block;
  color: var(--font-color);
  width: 140px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  background-color: var(--item-bg);
  cursor: pointer;
  font-weight: 500;
  font-size: medium;
  transition: all var(--transition-time);
}
input[name="camera-preset"] + label {
  display: inline-block;
  color: #000;
  text-align: center;
  background-color: rgb(146, 163, 174);
  cursor: pointer;
  font-weight: 500;
  font-size: medium;
  transition: all var(--transition-time);
  width: 80px;
  height: 30px;
  line-height: 30px;
  border-radius: 3px;
  margin: 0 15px;
}
input[name="camera-preset"]:checked + label {
  background-color: rgb(39, 227, 23);
  box-shadow: rgba(39, 227, 23, 0) 0px -23px 25px 0px inset,
    rgba(39, 227, 23, 0) 0px -36px 30px 0px inset,
    rgba(39, 227, 23, 0) 0px -79px 40px 0px inset,
    rgba(39, 227, 23, 0.06) 0px 2px 1px, rgba(39, 227, 23, 0.09) 0px 4px 2px,
    rgba(39, 227, 23, 0.09) 0px 8px 4px, rgba(39, 227, 23, 0.09) 0px 16px 8px,
    rgba(39, 227, 23, 0.09) 0px 32px 16px;
}
.right-box label:hover {
  color: var(--font-color-hover);
}
.right-box ul {
  height: fit-content;
  list-style: none;
  transition: margin-left var(--transition-time);
}

.right-box ul li {
  height: fit-content;
  display: none;
}
.right-box > input:first-child:checked ~ ul > li:first-child,
.right-box > input:nth-child(3):checked ~ ul > li:nth-child(2),
.right-box > input:nth-child(5):checked ~ ul > li:nth-child(3) {
  display: inline;
}

.right-camera-move-box {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}
.right-camera-move {
  position: absolute;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: var(--item-bg);
  border-radius: 5px;
  box-shadow: rgba(50, 57, 61, 0.17) 0px -23px 25px 0px inset,
    rgba(50, 57, 61, 0.15) 0px -36px 30px 0px inset,
    rgba(50, 57, 61, 0.1) 0px -79px 40px 0px inset,
    rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
    rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
    rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
.right-camera-zoom:active,
.right-camera-focus:active,
.right-camera-move:active {
  background-color: rgb(29, 32, 34);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4), 0 0 0 rgb(29, 32, 34),
    inset -7px -7px 12px rgb(29, 32, 34), inset 7px 7px 12px rgba(0, 0, 0, 0.4);
}
.right-camera-zoom {
  width: 45px;
  height: 45px;
  background-color: rgb(91, 106, 116);
  border-radius: 3px;
  line-height: 45px;
  cursor: pointer;
  color: white;
}
.right-camera-focus {
  width: 50px;
  height: 25px;
  background-color: rgb(91, 106, 116);
  border-radius: 3px;
  cursor: pointer;
  color: white;
}
.right-camera-preset {
  height: 35px;
  width: 58px;
}
